import sun.security.ec.point.ProjectivePoint;

public class T {
    private int a = 10;

    private T test;

    public T() {
//        WeakReference<ClassLayout> classLayoutWeakReference = new WeakReference<>(org.openjdk.jol.info.ClassLayout.parseInstance(this));
//        System.out.println(classLayoutWeakReference.get().instanceSize());

    }

    public void fun2(T t) {
        int[][] a = new int[10][11];
//        NativeC.newArr(a,13,"a");

        int[] b = new int[100];
        b[1] = 10;
    }

    public void fun1() {
//        System.out.println("fun1 start");
        T[] ts = new T[10];
        ts[0] = new T();
        T t = new T();

//        t.test = new String();
//        t.a = 10;
//        Object o = new T();
//        System.out.println(o);
//        Object o1 = new Object();
//

//        NativeC.newArray(new int[10],Thread.currentThread());
    }

    //    public static void fun2(){
//        System.out.println("fun2");
//    }
//    public int fun3(){
//        System.out.println("fun3");
//        return 1;
//    }
    public static void main(String[] args) throws Exception {
//        System.out.println("===========main==========");
//
//        Thread.sleep(1000L);
//        T t = new T();
//        t.fun1();
//        T t2 = new T();
//        Object o = new Object();
//
////        Test test = new Test();
////        Test test2 = new Test();
//        String str = "1";
//        String str2 = new String("str2");
//        str2 = str2 + new String("asf");
        Object obj = new Object();
        new Object();
//        NativeC.newObj(obj, 57, "obj", obj.hashCode(), Thread.currentThread());
    }
}